import { combineReducers, configureStore } from '@reduxjs/toolkit'
import msgListSlice from './msgListSlice'
import addSlice from "./addSlice";


const rootReducer = combineReducers({
    msgListttt: msgListSlice.reducer,
    zth: addSlice.reducer
})

export const store = configureStore({
    reducer: rootReducer,
    devTools: true
})



export const dispatch = store.dispatch
